package com.example.pm.ending.server.mapper;


import com.example.pm.ending.server.pojo.entity.HouseState;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * author JJS
 */

@Repository
public interface HouseStateMapper {
    /**
     * 新增
     */
    void insert(HouseState houseState);

    /**
     * 通过id删除
     */
    void deleteById(Long id);

    /**
     * 修改信息
     */
    void update(HouseState houseState);

    /**
     * 查询总数
     */
    Long count();

    /**
     * 列表查询
     */
    List<HouseState> list();

    /**
     * 根据id查找信息
     */
    HouseState getHouseStateById(Long id);
}
